home *** CD-ROM | disk | FTP | other *** search
- Path: munnari.OZ.AU!metro!metro!OzEmail!usenet
- From: curreya@ozemail.com.au (Adam Currey)
- Newsgroups: comp.lang.c
- Subject: Re: String Encryption
- Date: Wed, 06 Mar 1996 02:12:38 GMT
- Organization: OzEmail Pty Ltd - Australia
- Message-ID: <4hioqk$8h1@oznet03.ozemail.com.au>
- References: <1996Feb21.101532.15110@es.dupont.com> <1996Feb21.174407.20730@newshost.micro.ti.com> <4ghq1u$sed@hpbblb.bbn.hp.com>
- NNTP-Posting-Host: slgos1p17.ozemail.com.au
- X-Newsreader: Forte Agent .99b.113
-
- On 22 Feb 1996 13:11:26 GMT, Matthias Dittrich <matti> wrote:
-
- >brett@racerx.micro.ti.com (Brett L. Huber) wrote:
- >>Malcolm Smart (MALCOLM.SMART@CONOCO.DUPONT.COM) wrote:
- >>> Has anybody out there got any small routines that I can apply to strings
- >>> which will effectively encrypt them (and decrypt!). It's not a matter of
- >>> state security so it doesn't have to be that secure, just make it
- >>> unreadable.
- >>
- >>It really depends on what level of "unreadability" you want. Who are
- >>you protecting the data from? If you aren't protecting a secret, try
- >>"rot13," which translates A->N, B->O, ... Z->M.
- >>
- >>For an introduction to cryptographic techniques, try the sci.crypt FAQ:
- >>http://www.cis.ohio-state.edu/hypertext/faq/bngusenet/sci/crypt/top.html
- >>
- >> ...
- >You also can use the crypt() function (see man 3 crypt).
- >
- >Good luck,
- >Matthias
- >
-
-
- It may be obvious to some, but why not just add an arbitrarily-chosen number to
- the ASCII-value of each byte in the file? A simple encode/decode program in C
- should take more than a couple of minutes.
-
-
-
- Adam
-
- "...the chances of finding out what's really going on in the universe are
- so absurdly remote, that the only sensible thing to do is say, hang the
- sense of it and just keep yourself occupied." - Slartibartfast
-
-